package day20170413.homework;

import org.junit.Test;


public class AnimalTest {
	@Test
	public void animalTest() throws Exception {
		//狐狸
		Animal fox = new Fox();
		fox.eat();
		
		//老虎
		Animal tiger = new Tiger();
		tiger.eat();
		
		//兔子
		Animal rabbit = new Rabbit();
		rabbit.eat();
	}
}
